package cn.tedu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Component  //IOC
@Data  //GET/SET/TOSTRING 因为此项目在SpringBoot工程里，SpringBoot的pom.xml已经配置的Lombok插件
@NoArgsConstructor
@AllArgsConstructor
public class Car {
    private Integer id;
    private  String name;
    private  String color;
    private  Double price;
}
